Ext.define('BM.view.main.CostDetailList' ,{
    extend: 'Ext.grid.Panel',
    alias : 'widget.costdetaillist',
    title : '消费清单',
    store : 'CostDetails',
    initComponent: function() {

        this.columns = [
            {header: '消费项目',  dataIndex: 'goodsItemName',  flex: 1},
            {header: '项目单价', dataIndex: 'cost', flex: 1},
            {header: '打折比例', dataIndex: 'costDiscount', flex: 1},
            {header: '消费数量', dataIndex: 'costNum', flex: 1},
            {header: '消费金额',  dataIndex: 'costAmount',  flex: 1},
            {header: '消费时间', dataIndex: 'costOfTime', flex: 1},
            {header: '服务生', dataIndex: 'technicianName', flex: 1},
            {header: '记帐人', dataIndex: 'userName', flex: 1},
            {header: '备注', dataIndex: 'memo', flex: 1}
        ];

        this.callParent(arguments);
    }
});